#include <QtGui/QApplication>
#include "mainwindow.h"
#include "dbmanager.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    DBManager * dbm = DBManager::getGlobal();
    if (!dbm->initDB())
        return -1;

    MainWindow w;
    w.show();
    w.showMaximized();
    
    return a.exec();
}
